__author__ = 'mariia.vitiuk'
class Movie(object):

     def __init__(self, imdb="", name="", aka="", year = ""):
         self.imdb = imdb
         self.name = name
         self.aka = aka
         self.year = year

     @classmethod
     def random(cls):
         from random import randint
         return cls(imdb= randint(0, 100),
                    name="test" + str(randint(0, 1000000)),
                    aka="test_aka" + str(randint(0, 1000000)),
                    year= randint(0, 1000))